package zxd;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Created by 张旭东 on 2017/8/15.
 */
@EnableDiscoveryClient
@SpringBootApplication
public class EurekaClientAppRun {
    public static void main(String[] args) {
        new SpringApplicationBuilder(EurekaClientAppRun.class).web(true).run(args);
        System.out.println("------------------服务注册 启动成功-----------------");
    }
}
